/*
使用mockjs提供mock数据接口
 */
// import Mock from 'mockjs'

import data from './data.json'
const Mock = require('mockjs')
// 返回ratings的接口
Mock.mock('/baseInfo/onlineExam/selectSubjectList', {
  code: 0,
  data: data.data
})
// 结业考试列表
Mock.mock('/baseInfo/onlineExam/selectExamList', { code: 0, data: data.data1 })

// 查看试卷
Mock.mock('/baseInfo/onlineExam/selectSubjectList', {
  code: 0,
  data: data.data2
})
// 查询学生成绩
Mock.mock('/baseInfo/onlineExam/selectStudentScore', {
  code: 0,
  data: data.data3
})
// 查询在线考试列表
Mock.mock('/baseInfo/onlineExam/selectMyOnlineExamList', data.data4)
// 查询结业考试结果
Mock.mock('/baseInfo/onlineExam/selectStudentExamResult', {
  code: 0,
  data: data.data5
})

// 查询文件夹列表
Mock.mock('/baseInfo/studyexamFolder/findStudyExamFolderList', {
  code: 0,
  data: data.data6
})

// 查询文件夹内视频列表
Mock.mock('/baseInfo/studyexamFileList/getStudyexamFolderList', data.data7)
